$OpenBSD: patch-provider_client_WSTransport_cpp,v 1.12 2016/04/20 18:38:41 robert Exp $
--- provider/client/WSTransport.cpp.orig	Wed Apr 20 13:13:54 2016
+++ provider/client/WSTransport.cpp	Wed Apr 20 19:54:13 2016
@@ -82,6 +82,10 @@ using namespace std;
 static const char THIS_FILE[] = __FILE__;
 #endif
 
+#ifdef __OpenBSD__
+#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
+#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP PTHREAD_MUTEX_INITIALIZER
+#endif
 
 /*
  *
